import React, { memo } from 'react'
import type { ReactNode } from 'react'
import { DjRadioHeaderWrapper } from './style'

interface IProps {
  children?: ReactNode,
  title: string
}

const DjRadioHeader: React.FC<IProps> = (props) => {
  const { title } = props
  return (
    <DjRadioHeaderWrapper >
        <div className="title">{title}</div>
    </DjRadioHeaderWrapper>
  )
}

export default memo(DjRadioHeader)
